// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__4AB24D78_8864_4639_8019_63728C802DBB__INCLUDED_)
#define AFX_STDAFX_H__4AB24D78_8864_4639_8019_63728C802DBB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers

#include <afx.h>
#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions
#include <afxdisp.h>        // MFC Automation classes
#include <afxdtctl.h>		// MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>			// MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT

#include <SHLWAPI.H>

#define LIBMYSQL	//for libmysql.lib
#ifdef	LIBMYSQL
//	#include <winsock.h>
//	#include <mysql.h>
	#pragma comment(lib, "MySqlLib/libmysql.lib")
#endif

//#define MYSQL_DRIVER	//for connector-c++-1.0.5
#ifdef MYSQL_DRIVER
	#include <mysql_driver.h>
	#include <mysql_connection.h>
	#include <cppconn/driver.h>
	#include <cppconn/exception.h>
	#include <cppconn/resultset.h>
	#include <cppconn/statement.h>
	#include <cppconn/prepared_statement.h>

	//#pragma comment(lib, "MySqlLib/mysqlcppconn-static.lib")
	#pragma comment(lib, "MySqlLib/mysqlcppconn.lib")
#endif

#define MYSQLPP				//for mysql++
#define MYSQLPP_1_7_1		//for VC6.0
//#define MYSQLPP_3_1_0		//for VS2008
#ifdef MYSQLPP
	//#pragma comment(lib, "MySqlLib/libmysql.lib")
	//#pragma comment(lib, "MySqlLib/mysql++.lib")
	#include <winsock.h>
	#include <mysql++.h>
#else
#endif

#include <afxhtml.h>			// MFC HTML view support

#include "BCGControlBar/bcgcb.h"
#pragma warning(disable:4146) 

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__4AB24D78_8864_4639_8019_63728C802DBB__INCLUDED_)
